eab311320437ddf44e3742dc5cbd70556eb9463e,core/src/main/java/org/elasticsearch/index/translog/Translog.java,Index,writeTo,#StreamOutput#,892
Before Change
out.writeString(id);
out.writeString(type);
out.writeBytesReference(source);
if (routing == null) {
out.writeBoolean(false);
} else {
out.writeBoolean(true);
out.writeString(routing);
}
if (parent == null) {
out.writeBoolean(false);
After Change
out.writeString(id);
out.writeString(type);
out.writeBytesReference(source);
out.writeOptionalString(routing);
out.writeOptionalString(parent);
out.writeLong(version);
out.writeLong(timestamp);